package com.cq.hd.product.service;

import com.cq.hd.common.pagination.Page;
import com.cq.hd.product.api.dto.SearchDto;
import com.cq.hd.product.api.dto.SearchRecordPageDto;
import com.cq.hd.product.api.vo.SearchRecordPageVo;
import com.cq.hd.product.po.TbSearchRecordPo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 历史搜索表 服务类
 * </p>
 *
 * @author mYunYu
 * @since 2023-11-23
 */
public interface TbSearchRecordService extends IService<TbSearchRecordPo> {

    Page<SearchRecordPageVo> pageSearchRecord(SearchRecordPageDto searchRecordPageDto);

    Object search(SearchDto searchDto);

    Boolean deleteSearchRecord(Long userId, Long id);
}
